package org.cfx.basic.myenum;

import org.springframework.web.bind.annotation.*;

/**
 * @author RTX 9090
 */

public enum RequestType {

    GET(GetMapping.class),POST(PostMapping.class),PUT(PutMapping.class),DELETE(DeleteMapping.class),PATCH(PatchMapping.class);

    private Class requestType;

    RequestType(Class requestType) {
        this.requestType = requestType;
    }

    RequestType() {
    }

    public Class getRequestType() {
        return requestType;
    }

    public void setRequestType(Class requestType) {
        this.requestType = requestType;
    }
}
